package com.avic.enums;

/**
 * @author zhangzikang
 * @date 2022-08-14
 */
public enum PositionEnum {
    // 左机翼
    TWENTY(20,"钻模板#1"),TWENTY_ONE(21, "钻模板#2"),TWENTY_TWO(22, "钻模板#3"),TWENTY_THREE(23,"钻模板#4"),
    TWENTY_FOUR(24,"机翼#1"),TWENTY_FIVE(25,"机翼#2"), TWENTY_SIX(26, "机翼#3"),
    // 中机身
    TWENTY_SEVEN(27,"中机身#1"), TWENTY_EIGHT(28,"中机身#2"),TWENTY_NINE(29,"中机身#3"),
    // 右机翼
    FORTY_SIX(46,"钻模板#1"),FORTY_SEVEN(47, "钻模板#2"),FORTY_EIGHT(48, "钻模板#3"),FORTY_NINE(49,"钻模板#4"),
    FIFTY(50,"机翼#1"),FIFTY_ONE(51,"机翼#2"), FIFTY_TWO(52, "机翼#3");


    private String message;// 别名
    private Integer code; // 值

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    PositionEnum(Integer code, String message) {
        this.message = message;
        this.code = code;
    }
}
